/**
 * rolePermission api
 */
import $http from '../../http/http'

/**
 * 获取用户的权限列表
 */
export const queryPermissionsByRoleName = (roleName) => {
    return $http.get("rolePermissionMgmt/permission/" + roleName);
}

/**
 * 修改角色权限
 */
export const modifyRolePermissions = (data) => {
    return $http.post("rolePermissionMgmt/modify", data);
}
